|
Command: |
Translate a double-length Master Load Key (*KML) from encryption under a ZMK (*ZCMK) to encryption under Variant 2 of LMK pair 04-05. |
|
Notes: |
A check value for the *KML is also returned. |
|
Field |
Length & Type |
Details |
|
COMMAND MESSAGE |
||
|
Message header |
m A |
(Subsequently returned to the Host unchanged). |
|
Command code |
2 A |
Value DK. |
|
*ZCMK |
32H or 1A+32H or 1A+48H |
*ZCMK encrypted under LMK pair 04-05. |
|
*KML |
32H or 1A+32H |
*KML, encrypted under *ZCMK. |
|
Atalla variant |
1 N or 2 N |
Optional. Atalla variant; for use in systems with Atalla equipment. |
|
Delimiter |
1 A |
Optional. If present the following three fields must be present. Value “;”. If an option is not required by the command fill with a valid value or 0. |
|
Reserved |
1 A |
Optional. If present must be 0. |
|
Key scheme LMK |
1 A |
Optional. Key scheme for encrypting key under LMK. |
|
Key check value type |
1 A |
Optional. Key check value calculation method 0 - KCV backwards compatible. 1 - KCV 6H. |
|
End message delimiter |
1 C |
Optional. Must be present if a message trailer is present. Value X’19. |
|
Message trailer |
n A |
Optional. Maximum length 32 characters. |
|
RESPONSE MESSAGE |
||
|
Message header |
m A |
Returned to the Host unchanged. |
|
Response code |
2 A |
Value DL. |
|
Error code |
2 N |
00 : No errors 10 ; *ZCMK parity error 11 : *KML parity error 12 : No keys loaded in user storage 13 : LMK error; report to supervisor 15 : Error in input data 21 : Invalid user storage index 27 : *KML not double length |
|
*KML |
32H or 1A+32H |
*KML, encrypted under Variant 2 of LMK pair 04-05. |
|
*KML check value |
6 H |
Check value formed by encrypting a block of 64 binary zeros with the *KML and returning the left-most 24 bits of the result. |
|
End message delimiter |
1 C |
Present only if present in the command message. Value X’19. |
|
Message trailer |
n A |
Present only if present in the command message. Maximum length 32 characters. |